﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.PL.ServiceClient
{
    public static class CompanyNoticeServiceClient
    {
        public static List<DefaultDataPack> GetNoticeList(string copName, int type, int page, int size)
        {
            BLL.Core.IService.ICompanyNoticeService service = new BLL.Core.Implement.CompanyNoticeService();
            return service.GetNoticeList(copName, type, page, size);
        }
        public static List<DefaultDataPack> GetNoticeArticle(string copName, int nid)
        {
            BLL.Core.IService.ICompanyNoticeService service = new BLL.Core.Implement.CompanyNoticeService();
            return service.GetNoticeArticle(copName, nid);
        }
    }
}
